]> dgit.raspbian.org Git - gnome-shell.git/commit
scripting: Return promise in helper window wait functions
authorJonas Ådahl <jadahl@gmail.com>
Tue, 18 Apr 2023 14:27:58 +0000 (16:27 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Thu, 20 Apr 2023 12:52:01 +0000 (14:52 +0200)
commit8d1fe3b4cbf5edd025ea28ce56c7659fc22e2937
treed8f75246890dbb1f617f366a23fab5b947e203d7
parentc2412dbe592aadc948cd5d4d34023eae059da3a7
scripting: Return promise in helper window wait functions

Otherwise they won't wait when doing e.g. `await waitTestWindows();`.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2722>
js/ui/scripting.js